import { io } from "socket.io-client";

export function connectToSocket(server_address) {
  return new Promise((resolve) => {
    resolve(io(server_address));
  });
}
